import { createStore } from 'vuex';
import user from './modules/user';
import menu from './modules/menu';
import getters from './getters';

export default createStore({
  modules: {
    user,
    menu
  },

  mutations: {},
  actions: {
    setData(context, value) {
      context.commit('setData', value);
    }
  },
  getters
});
